package com.lm.hutool.hash;

import cn.hutool.core.util.HashUtil;

import java.nio.charset.StandardCharsets;

public class AdvancedHashExample {
    public static void main(String[] args) {
        String text = "Hello, Hutool!";

        System.out.println("MurmurHash32: " + HashUtil.murmur32(text.getBytes(StandardCharsets.UTF_8)));
        System.out.println("BKDRHash: " + HashUtil.bkdrHash(text));
        System.out.println("APHash: " + HashUtil.apHash(text));
    }
}
